@import (reference) "~weaver-mobile/dist/weaver-mobile.less";
@borderColor: #ddd;
@titleBgColor: #f3f7fe;
@lineHeight: 28*@hd;
@fontColor: #999;
.hide {
  // z-index: 9999;
  position: fixed;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #F7F7F7;
  .hide-content {
    margin-top: 10*@hd;
    margin-right: 10*@hd;
    .hide-content-grid{
      float: left;
      margin-left: 3%;
      margin-bottom: 3%;
      width: 22%;
      height: 100*@hd ;
      background: #fff;
      color: #000;
      font-size: 20*@hd;
      text-align: center;
      span {
        display: inline-block;
        width: 100%;
        word-break: break-all;
        margin-top: 40*@hd;
      }
      .span-style {
        margin-top: 20*@hd;
        font-size: 40*@hd;
      }
      .time-span {
        display: inline-block;
        margin-top: -40*@hd;
      }
      .hide-content-grid-userdefine {
      height: 100*@hd;
      padding-left: 10%;
        .am-list-line {
          position: fixed;
          left: 0;
          width: 27%;
          margin-top: 28*@hd;
        }
        .am-list-content{
          font-size: 20*@hd;
          text-align: center;
        }
      }
      .am-list-extra {
        margin-left: -35%;
        display: none;
      }
    }
    .active{
      background: @brand-primary;
    }
  }
  .hide-button {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
  }
}
.workplan-create-list {
  background: #fff;
  position: absolute;
  left: 0*@hd;
  right: 0*@hd;
  overflow: auto;
  bottom: 47*@hd;
  top: 0*@hd;
  .loaidng-icon {
    display: flex;
    justify-content: center;
  }
}
.workplan-create-saveButton {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}
.fold-group {

  .fold-title {
    height: @lineHeight;
    line-height: @lineHeight;
    background: @titleBgColor;
    border-bottom: 1*@hd solid @borderColor;
    color: @fontColor;
    padding-left: 22*@hd;
    padding-right: 5*@hd;
  }
  .flod-icon {
    float: right;
  }
  .show {
    display: block;
    .am-list-item {
      .am-list-line{
        .am-list-arrow {
          margin-right: -7*@hd;
        }
      }
    }
  }
  .hide {
    display: none;
  }
  .datepicker {
    .am-list-content{
      font-size: 14*@hd;
      padding-left: 6*@hd;
    }
    .am-list-arrow{
      margin-right: -6*@hd;
    }
  }
}



//repeatTypeSelect
.repeatTypeSelect {
  .am-input-control {
    input{
      text-align: right;
    }
  }
  .repeat-picker-view-item {
    margin-left: 15*@hd;
  }
  .repeatMessage {
    min-height: 40*@hd;
    color: @fontColor;
    background: #f9f9f9;
    border-bottom: 1*@hd solid @borderColor;
    label{
      display: inline-block;
      margin-top: 10*@hd;
      margin-left: 15*@hd;
      letter-spacing: 1*@hd;
    }
  }

  .active {
    background: @brand-primary !important;
  }

  .dateStyle() {// 日期列表样式
    .month-list {
      .month-grid {
        border-bottom: 1*@hd solid @borderColor;
        border-right: 1*@hd solid @borderColor;
        height: 50*@hd;
        line-height: 50*@hd;
        text-align: center;
        float: left;
      }
    }
  }

  .repeat-month-list {
    .am-select {
      .am-list-form {
        .am-list-label {
          color: #000;
        }
      }
    }
    .dateStyle();
   
  }
  .repeat-year-list {
    .dateStyle();
    .year-list {
      .year-grid {
        background: #fff;
        border-bottom: 1*@hd solid @borderColor;
        border-right: 1*@hd solid @borderColor;
        height: 50*@hd;
        line-height: 50*@hd;
        text-align: center;
        float: left;
      }
    }
  }

  &-button {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
  }
}

// endRepeat
.endRepeat {
  
  &-button {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
  }
}